<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap 模板</title>
	  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" charset="UTF-8" >
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <link href="css/bootstrap.min.css" rel="stylesheet">
      <script src="js/jquery-1.11.1.min.js"></script>
      <script src="js/bootstrap.min.js"></script>
      <!--[if lt IE 9]>
         <script src="js/html5shiv.js"></script>
         <script src="js/respond.min.js"></script>
      <![endif]-->
   </head>
   <body>
   	<a class="btn btn-default"  data-toggle="modal" data-target="#b1">登录</a>
	<div id="b1" class="modal">
   	<div class="modal-dialog">
   			<div class="modal-content">
   				<div class="modal-header">
   					<a class="close" data-dismiss="modal">&times;</a>
   					<div class="modal-title">
   						<h1>welcome to my house</h1>
   					</div>
   				</div>
				<div class="modal-body">
					你好，欢迎光临！
				</div>
				
				<div class="modal-footer">
				<button class="btn btn-primary">确定</button>
				<button class="btn btn-default" data-dismiss="modal">取消</button>
			</div>
   			</div>
			
   	</div>
   </div>
  
   </body>
</html>